import { createApp } from 'vue'
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

import App from './App.vue'
import router from './router'
import store from './store'
const pinia = createPinia() // 创建Pinia实例

createApp(App).use(pinia.use(persist)).use(store).use(router).mount('#app')
